package com.jindy.module.AssetDetails.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 资产明细对象 asset_details
 * 
 * @author jindy
 * @date 2023-04-19
 */
public class AssetDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String assetNo;

    /** 资产类别id */
    @Excel(name = "资产类别id")
    private Long classId;

    /** 资产类别名称 */
    @Excel(name = "资产类别名称")
    private String className;

    /** 资产类别编码 */
    @Excel(name = "资产类别编码")
    private String classNo;

    /** 品牌名 */
    @Excel(name = "品牌名")
    private String assetBrand;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String assetModel;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String assetUnit;

    /** 资产单价 */
    @Excel(name = "资产单价")
    private BigDecimal assetPrice;

    /** 存放地点 */
    @Excel(name = "存放地点")
    private String assetLocation;

    /** 资产数量 */
    @Excel(name = "资产数量")
    private Long assetQuantity;

    /** 可用数量 */
    @Excel(name = "可用数量")
    private Long assetAvailQuantity;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String assetStatus;

    /** 删除标志（0存在，1删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAssetName(String assetName) 
    {
        this.assetName = assetName;
    }

    public String getAssetName() 
    {
        return assetName;
    }
    public void setAssetNo(String assetNo) 
    {
        this.assetNo = assetNo;
    }

    public String getAssetNo() 
    {
        return assetNo;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setClassNo(String classNo) 
    {
        this.classNo = classNo;
    }

    public String getClassNo() 
    {
        return classNo;
    }
    public void setAssetBrand(String assetBrand) 
    {
        this.assetBrand = assetBrand;
    }

    public String getAssetBrand() 
    {
        return assetBrand;
    }
    public void setAssetModel(String assetModel) 
    {
        this.assetModel = assetModel;
    }

    public String getAssetModel() 
    {
        return assetModel;
    }
    public void setAssetUnit(String assetUnit) 
    {
        this.assetUnit = assetUnit;
    }

    public String getAssetUnit() 
    {
        return assetUnit;
    }
    public void setAssetPrice(BigDecimal assetPrice) 
    {
        this.assetPrice = assetPrice;
    }

    public BigDecimal getAssetPrice() 
    {
        return assetPrice;
    }
    public void setAssetLocation(String assetLocation) 
    {
        this.assetLocation = assetLocation;
    }

    public String getAssetLocation() 
    {
        return assetLocation;
    }
    public void setAssetQuantity(Long assetQuantity) 
    {
        this.assetQuantity = assetQuantity;
    }

    public Long getAssetQuantity() 
    {
        return assetQuantity;
    }
    public void setAssetAvailQuantity(Long assetAvailQuantity) 
    {
        this.assetAvailQuantity = assetAvailQuantity;
    }

    public Long getAssetAvailQuantity() 
    {
        return assetAvailQuantity;
    }
    public void setAssetStatus(String assetStatus) 
    {
        this.assetStatus = assetStatus;
    }

    public String getAssetStatus() 
    {
        return assetStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetName", getAssetName())
            .append("assetNo", getAssetNo())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("classNo", getClassNo())
            .append("assetBrand", getAssetBrand())
            .append("assetModel", getAssetModel())
            .append("assetUnit", getAssetUnit())
            .append("assetPrice", getAssetPrice())
            .append("assetLocation", getAssetLocation())
            .append("assetQuantity", getAssetQuantity())
            .append("assetAvailQuantity", getAssetAvailQuantity())
            .append("assetStatus", getAssetStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
